package com.cy.detectsys.constant;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


/**
 * Minio参数配置类
 *
 * @author meng
 */
@Configuration
@Data
@ConfigurationProperties(prefix = ResourceProperties.PREFIX)
public class ResourceProperties {

    /**
     * 配置前缀
     */
    public static final String PREFIX = "resource";

    /**
     * 对象存储名称
     */
    public static String swap;

    public void setSwap(String swap) {
        this.swap = swap;
    }
}